<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>问答系统首页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" href="__BBS_Module__/layui/css/layui.css">
    <link rel="stylesheet" href="__BBS_Module__/css/global.css">
    <script src="__BBS_Module__/layui/layui.js"></script>

    <link rel="stylesheet" type="text/css" href="__BBS_Module__/css/class.css">




    <style>
        td {
            float: left;
            min-width: 33.3%;
        }

        .bm_c td h2 em.xi1,
        .bm_c td dt em.xi1 {
            background: #efefef;
            padding: 1px 5px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 4px;
            color: #1985db;
            left: 10px;
        }

        .class_name {
            padding-right: 10px;
        }
    </style>
    <script src="/public/bbs/class/function.js" type="text/javascript"></script>

</head>

<body>
    {$head}
    <div class="global main">
        {volist name="calss" id="vo"}
        <div class="global bm bmw  flg cl">
            <div class="global bm_h cl">
                <span class="global o">
                    <img id="class_id_{$vo.id}_img"
                        src="http://wx2.sinaimg.cn/large/006wvbvUly1g4urjt48feg300c00a026.gif" title="收起/展开" alt="收起/展开"
                        onclick="toggle_collapse('class_id_{$vo.id}');">
                </span>
                <!-- <span class="global y">分区版主: <a href="http://i.pcbeta.com/space-username-DreameRing.html" class="global notabs"
                        c="1">DreameRing</a>, <a
                        href="http://i.pcbeta.com/space-username-%D8%BC%D1%BC%C0%E6%B4%F3%B4%F3%A1%A3.html"
                        class="global notabs" c="1">丶鸭梨大大。</a></span> -->
                <h2><a href="http://bbs.pcbeta.com/forum.php?gid=86">{$vo.class_name}</a></h2>
            </div>
            <div style="padding: 10px;" id="class_id_{$vo.id}" class="global bm_c">
                <table style="width: 100%;" cellspacing="0" cellpadding="0" class="global fl_tb">
                    <tbody>
                        <tr>
                            {volist name="vo.son" id="son"}
                            {if condition="$son.id % 4"}
                            <td class="global fl_g">
                                <div class="global fl_icn_g">
                                    <a href="{:url('bbs/articlelist/index')}?alias={$son.son_class_alias}">
                                        <img src="{$son.son_class_images}" width="64px" align="left" alt="">
                                    </a>
                                </div>
                                <dl style="margin-left: 64px;">
                                    <dt><a href="{:url('bbs/articlelist/index')}?alias={$son.son_class_alias}"
                                            class='global class_name'>{$son.son_class_name}</a><em class="global xw0 xi1 yellow"
                                            title="今日"> {$son.released_today}</em> </dt>
                                    <dd><em>主题: {$son.All_theme_count}</em>, <em>帖数: 3578</em></dd>
                                    <dd>
                                        {$son.son_class_info}
                                    </dd>
                                </dl>
                            </td>
                            {else /}
                        </tr>
                        <tr>
                            <td class="global fl_g">
                                <div class="global fl_icn_g">
                                    <a href="{:url('bbs/articlelist/index')}?alias={$son.son_class_alias}">
                                        <img src="{$son.son_class_images}" width="64px" align="left" alt="">
                                    </a>
                                </div>
                                <dl style="margin-left: 64px;">
                                    <dt><a href="{:url('bbs/articlelist/index')}?alias={$son.son_class_alias}"
                                            class='global class_name'>{$son.son_class_name}</a><em class="global xw0 xi1 yellow"
                                            title="今日"> {$son.released_today}</em> </dt>
                                    <dd><em>主题: {$son.All_theme_count}</em>, <em>帖数: 3578</em></dd>
                                    <dd>
                                        {$son.son_class_info}
                                    </dd>
                                </dl>
                            </td>

                            {/if}

                            {/volist}


                        </tr>

                    </tbody>
                </table>
            </div>
        </div>
        <br>
        {/volist}
    </div>
</body>

</html>